package com.yunfeisoft.base.service.impl;

import com.yunfeisoft.base.dao.inter.WorkflowHistoryDao;
import com.yunfeisoft.base.model.WorkflowHistory;
import com.yunfeisoft.base.service.inter.WorkflowHistoryService;
import com.yunfeisoft.common.base.BaseServiceImpl;
import com.yunfeisoft.common.utils.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * ClassName: WorkflowHistoryServiceImpl
 * Description: 流程实例执行历史service实现
 * Author: Jackie liu
 * Date: 2020-01-03
 */
@Service("workflowHistoryService")
public class WorkflowHistoryServiceImpl extends BaseServiceImpl<WorkflowHistory, String, WorkflowHistoryDao> implements WorkflowHistoryService {

    @Override
    public Page<WorkflowHistory> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }

    @Override
    public List<WorkflowHistory> queryList(Map<String, Object> params) {
        return getDao().queryList(params);
    }
}